<div id="footer">
	<div class="footer-container">
        <?php if (!empty($menuCategory[0]['MenuCategory'])){?>
            <div class="footer-child">
            	<span class="footer-title"><?php echo $menuCategory[0]['MenuCategory']['category_name']?></span>
            	<?php
                    foreach ($menuCategory[0]['SubMenu'] as $item){
                ?>
                    <a href="/thong-tin/<?php echo $item['short_link']?>"><span><?php echo $item['name']?></span></a>
                <?php }?>
            </div>
        <?php }
            if (!empty($menuCategory[1]['MenuCategory'])){
        ?>
            <div class="footer-child">
            	<span class="footer-title"><?php echo $menuCategory[1]['MenuCategory']['category_name']?></span>
            	<?php
                    foreach ($menuCategory[1]['SubMenu'] as $item){
                ?>
                    <a href="/thong-tin/<?php echo $item['short_link']?>"><span><?php echo $item['name']?></span></a>
                <?php }?>
            </div>
        <?php }
            if (!empty($menuCategory[2]['MenuCategory'])){
        ?>
           <div class="footer-child">
                <span class="footer-title"><?php echo $menuCategory[2]['MenuCategory']['category_name']?></span>
                <?php
                    foreach ($menuCategory[2]['SubMenu'] as $item){
                ?>
                    <a href="/thong-tin/<?php echo $item['short_link']?>"><span><?php echo $item['name']?></span></a>
                <?php }?>
            </div>
        <?php }?>
    </div>
</div>